package com.zhtx.debt.customer.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * e签宝用户表
 */
@Table(name = "zs_zj_eqb_account")
@Entity
@Data
public class ZsZjEqbAccount implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * UUID
     */
    @Id
    @Column(name = "id", insertable = false, nullable = false)
    private String id;

    /**
     * 手机号码
     */
    @Column(name = "eq_mobile")
    private String eqMobile;

    /**
     * 姓名
     */
    @Column(name = "eq_name", nullable = false)
    private String eqName;

    /**
     * 身份证
     */
    @Column(name = "eq_idcard", nullable = false)
    private String eqIdcard;

    /**
     * E签宝id
     */
    @Column(name = "eq_accountid", nullable = false)
    private String eqAccountid;

    /**
     * 人脸识别认证账号ID
     */
    @Column(name = "face_account_id")
    private String faceAccountId;

    /**
     * 盖章图片
     */
    @Column(name = "eq_base64", nullable = false)
    private String eqBase64;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 创建人
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 创建名
     */
    @Column(name = "create_name")
    private String createName;

    /**
     * 创建时间
     */
    @Column(name = "create_date")
    private LocalDateTime createDate;

    /**
     * 更新人
     */
    @Column(name = "update_by")
    private String updateBy;

    /**
     * 更新名
     */
    @Column(name = "update_name")
    private String updateName;

    /**
     * 更新时间
     */
    @Column(name = "update_date")
    private LocalDateTime updateDate;

    /**
     * E签宝实名认证ID
     */
    @Column(name = "auth_serviceid")
    private String authServiceid;

    /**
     * 实名认证类型 2二要素 3三要素
     */
    @Column(name = "auth_type")
    private Integer authType = 3;

    
}